﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessLogicLayer;
namespace logicunivesityinventorystore
{
    public partial class ViewStockCard : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //btnPrint.Visible = false;
        }

        protected void btnFind_Click(object sender, EventArgs e)
        {
            dvstockCardItem.DataSource = new ItemFacade().FindItemDetail_StockCard(ddlItemName.SelectedValue);
            dvstockCardItem.DataBind();
            gvStockView.DataSource = new ItemFacade().FindStockCardByItemCode(ddlItemName.SelectedValue);
            gvStockView.DataBind();
            btnPrint.Visible = true;
        }

        protected void btnPrint_Click(object sender, EventArgs e)
        {

        }

       
    }
}